<!--
 * @Descripttion:
 * @Author: voanit
 * @Date: 2022-01-05 09:13:37
 * @LastEditors: voanit
 * @LastEditTime: 2022-01-05 09:23:32
-->
<template>
  <div v-if="visible">
    御剑乘风来,除魔天地间!====对话框==dia===={{ visible }}
    <el-button type="primary" @click="cancel">取消</el-button>
    <el-button type="success">确认</el-button>
  </div>
</template>
<script>
export default {
  name: '',
  props: {
    visible: {
      type: Boolean
    }
  },
  data() {
    return {}
  },
  computed: {},
  created() {},
  methods: {
    cancel() {
      // this.visible = false
      this.$emit('update:visible', false)
    }
  }
}
</script>
<style lang="less" scoped></style>
